export const validatePassword = () => {
    return (rule, value, callback) => {
        if(value.length < 6) {
            callback(new Error('登陆密码不能空'))
        }else {
            callback()
        }
    }
}